package com.dotflat.pay.controller;

import com.dotflat.pay.domain.PayRecord;
import com.dotflat.pay.po.PayRecordPO;
import com.dotflat.pay.service.PayRecordService;
import com.dotflat.rest.controller.RestfulBaseController;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/pay/records")
@Slf4j
@Api(tags = "支付记录 - ")
public class APIPayRecordController extends RestfulBaseController<PayRecord, PayRecordService, PayRecordPO> {

    @Autowired
    public void setBaseService(PayRecordService service){
        super.setBaseService(service);
    }

}
